---
title: ValidationRuleSets.ItemFromID Property (Visio)
keywords: vis_sdr.chm18113775
f1_keywords:
- vis_sdr.chm18113775
ms.prod: visio
api_name:
- Visio.ValidationRuleSets.ItemFromID
ms.assetid: 6842e919-9bea-5032-9f7d-75f4b58b0bc5
ms.date: 06/08/2017
---


# ValidationRuleSets.ItemFromID Property (Visio)

Returns the  **[ValidationRuleSet](validationruleset-object-visio.md)** object that matches the specified ID. Read-only.


## Syntax

 _expression_ . **ItemFromID**( **_RuleID_** )

 _expression_ A variable that represents a **[ValidationRuleSets](validationrulesets-object-visio.md)** object.


### Parameters



|**Name**|**Required/Optional**|**Data Type**|**Description**|
|:-----|:-----|:-----|:-----|
| _RuleID_|Required| **Long**|The ID of the object to retrieve.|

### Return Value

 **ValidationRuleSet**


